#ifndef INCLUDE_APHW_DATABASE_HPP
#define INCLUDE_APHW_DATABASE_HPP

#include <boost/shared_ptr.hpp>

class ham_db_t;
class ham_txn_t;

namespace aphw
{

class Database
{
public:
    Database();

    ham_db_t* db();
    ham_txn_t** txn();

private:
    struct Body;
    boost::shared_ptr<Body> body_;
};

void init_Database();

}

#endif
